<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: syslog4cj.server.common.SyslogServerSessionEventHandlerIF Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesyslog4cj.html">syslog4cj</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1server.html">server</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1server_1_1common.html">common</a></li><li class="navelem"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerSessionEventHandlerIF.html">SyslogServerSessionEventHandlerIF</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerSessionEventHandlerIF-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">syslog4cj.server.common.SyslogServerSessionEventHandlerIF Interface Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for syslog4cj.server.common.SyslogServerSessionEventHandlerIF:</div>
<div class="dyncontent">
 <div class="center">
  <img src="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerSessionEventHandlerIF.png" usemap="#syslog4cj.server.common.SyslogServerSessionEventHandlerIF_map" alt=""/>
  <map id="syslog4cj.server.common.SyslogServerSessionEventHandlerIF_map" name="syslog4cj.server.common.SyslogServerSessionEventHandlerIF_map">
<area href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF.html" alt="syslog4cj.server.common.SyslogServerEventHandlerIF" shape="rect" coords="0,0,401,24"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1event_1_1OutputStreamSyslogServerEventHandler.html" alt="syslog4cj.server.impl.event.OutputStreamSyslogServerEventHandler" shape="rect" coords="0,112,401,136"/>
<area href="classsyslog4cj_1_1server_1_1impl_1_1event_1_1StdOutSyslogServerEventHandler.html" alt="syslog4cj.server.impl.event.StdOutSyslogServerEventHandler" shape="rect" coords="0,168,401,192"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af85cd49edf2ea3c056c8206ba6f04a5a"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerSessionEventHandlerIF.html#af85cd49edf2ea3c056c8206ba6f04a5a">sessionOpened</a> (<a class="el" href="classsyslog4cj_1_1server_1_1common_1_1Session.html">Session</a> session, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer, ?SocketAddress socketAddress):Unit</td></tr>
<tr class="separator:af85cd49edf2ea3c056c8206ba6f04a5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ddbbeb8276f88d917591f718dee2385"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerSessionEventHandlerIF.html#a0ddbbeb8276f88d917591f718dee2385">event</a> (?<a class="el" href="classsyslog4cj_1_1server_1_1common_1_1Session.html">Session</a> session, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer, ?SocketAddress socketAddress, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventIF.html">SyslogServerEventIF</a> event):Unit</td></tr>
<tr class="separator:a0ddbbeb8276f88d917591f718dee2385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75b2511a741b1cdb631818e7c77f462f"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerSessionEventHandlerIF.html#a75b2511a741b1cdb631818e7c77f462f">exception</a> (?<a class="el" href="classsyslog4cj_1_1server_1_1common_1_1Session.html">Session</a> session, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer, ?SocketAddress socketAddress, Exception exception):Unit</td></tr>
<tr class="separator:a75b2511a741b1cdb631818e7c77f462f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1e12dd7e1f2bb81e38522c3e3880b6a"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerSessionEventHandlerIF.html#af1e12dd7e1f2bb81e38522c3e3880b6a">sessionClosed</a> (<a class="el" href="classsyslog4cj_1_1server_1_1common_1_1Session.html">Session</a> session, <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer, ?SocketAddress socketAddress, Bool timeout):Unit</td></tr>
<tr class="separator:af1e12dd7e1f2bb81e38522c3e3880b6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF.html">syslog4cj.server.common.SyslogServerEventHandlerIF</a></td></tr>
<tr class="memitem:aa47309b99df3edc42f905391a174b1d9 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF.html#aa47309b99df3edc42f905391a174b1d9">initialize</a> (<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer):Unit</td></tr>
<tr class="separator:aa47309b99df3edc42f905391a174b1d9 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2c399ae33cb42b0907d4e3e8668c064 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF"><td class="memItemLeft" align="right" valign="top">func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF.html#ac2c399ae33cb42b0907d4e3e8668c064">destroy</a> (<a class="el" href="interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerIF.html">SyslogServerIF</a> syslogServer):Unit</td></tr>
<tr class="separator:ac2c399ae33cb42b0907d4e3e8668c064 inherit pub_methods_interfacesyslog4cj_1_1server_1_1common_1_1SyslogServerEventHandlerIF"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>会话型 Syslog 服务器事件处理器接口 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a0ddbbeb8276f88d917591f718dee2385" name="a0ddbbeb8276f88d917591f718dee2385"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ddbbeb8276f88d917591f718dee2385">&#9670;&#160;</a></span>event()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerSessionEventHandlerIF.event </td>
          <td>(</td>
          <td class="paramname"><em>session</em>:&#160;</td>
          <td class="paramtype">?Session, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>socketAddress</em>:&#160;</td>
          <td class="paramtype">?SocketAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>event</em>:&#160;</td>
          <td class="paramtype">SyslogServerEventIF&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理接收到的 Syslog 事件</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>关联会话（可能为空） </td></tr>
    <tr><td class="paramname">syslogServer</td><td>Syslog 服务器实例 </td></tr>
    <tr><td class="paramname">socketAddress</td><td>客户端套接字地址 </td></tr>
    <tr><td class="paramname">event</td><td>Syslog 事件对象 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1event_1_1OutputStreamSyslogServerEventHandler.html#ab937d5072288277f0be623b5abb17078">syslog4cj.server.impl.event.OutputStreamSyslogServerEventHandler</a>.</p>

</div>
</div>
<a id="a75b2511a741b1cdb631818e7c77f462f" name="a75b2511a741b1cdb631818e7c77f462f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a75b2511a741b1cdb631818e7c77f462f">&#9670;&#160;</a></span>exception()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerSessionEventHandlerIF.exception </td>
          <td>(</td>
          <td class="paramname"><em>session</em>:&#160;</td>
          <td class="paramtype">?Session, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>socketAddress</em>:&#160;</td>
          <td class="paramtype">?SocketAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>exception</em>:&#160;</td>
          <td class="paramtype">Exception&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>处理异常事件</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>关联会话（可能为空） </td></tr>
    <tr><td class="paramname">syslogServer</td><td>Syslog 服务器实例 </td></tr>
    <tr><td class="paramname">socketAddress</td><td>客户端套接字地址 </td></tr>
    <tr><td class="paramname">exception</td><td>异常对象 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1event_1_1OutputStreamSyslogServerEventHandler.html#ad7fc491504246994427c0e62c577e8ab">syslog4cj.server.impl.event.OutputStreamSyslogServerEventHandler</a>.</p>

</div>
</div>
<a id="af1e12dd7e1f2bb81e38522c3e3880b6a" name="af1e12dd7e1f2bb81e38522c3e3880b6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af1e12dd7e1f2bb81e38522c3e3880b6a">&#9670;&#160;</a></span>sessionClosed()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerSessionEventHandlerIF.sessionClosed </td>
          <td>(</td>
          <td class="paramname"><em>session</em>:&#160;</td>
          <td class="paramtype">Session, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>socketAddress</em>:&#160;</td>
          <td class="paramtype">?SocketAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>timeout</em>:&#160;</td>
          <td class="paramtype">Bool&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>会话关闭时触发</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>会话对象 </td></tr>
    <tr><td class="paramname">syslogServer</td><td>Syslog 服务器实例 </td></tr>
    <tr><td class="paramname">socketAddress</td><td>客户端套接字地址 </td></tr>
    <tr><td class="paramname">timeout</td><td>是否因超时关闭 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1event_1_1OutputStreamSyslogServerEventHandler.html#a3bcc9e032485d128d529a946d227e939">syslog4cj.server.impl.event.OutputStreamSyslogServerEventHandler</a>.</p>

</div>
</div>
<a id="af85cd49edf2ea3c056c8206ba6f04a5a" name="af85cd49edf2ea3c056c8206ba6f04a5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af85cd49edf2ea3c056c8206ba6f04a5a">&#9670;&#160;</a></span>sessionOpened()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">func syslog4cj.server.common.SyslogServerSessionEventHandlerIF.sessionOpened </td>
          <td>(</td>
          <td class="paramname"><em>session</em>:&#160;</td>
          <td class="paramtype">Session, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>syslogServer</em>:&#160;</td>
          <td class="paramtype">SyslogServerIF, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>socketAddress</em>:&#160;</td>
          <td class="paramtype">?SocketAddress&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>: Unit</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>会话建立时触发</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">session</td><td>会话对象 </td></tr>
    <tr><td class="paramname">syslogServer</td><td>Syslog 服务器实例 </td></tr>
    <tr><td class="paramname">socketAddress</td><td>客户端套接字地址 </td></tr>
  </table>
  </dd>
</dl>

<p>Implemented in <a class="el" href="classsyslog4cj_1_1server_1_1impl_1_1event_1_1OutputStreamSyslogServerEventHandler.html#af01aae5964e5cd30687ef5b4bf35e099">syslog4cj.server.impl.event.OutputStreamSyslogServerEventHandler</a>.</p>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>src/server/common/<a class="el" href="syslog__server__event__if_8cj.html">syslog_server_event_if.cj</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
